//
//  OIMemoryWindowController.h
//  OrchIDE
//
//  Created by local22 on 8/13/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class OIEmulator;

@interface OIMemoryWindowController : NSWindowController {
	OIEmulator *_emulator;
	NSRange _addressRange;
	NSString *_trackingRegister;
	
	IBOutlet NSTableView *_tableView;
	IBOutlet NSPanel *_gotoPanel;
	IBOutlet NSTextField *_addressField;
}

#pragma mark Accessors
- (NSRange)addressRange;
- (void)setAddressRange:(NSRange)addressRange;

- (void)setEmulator:(OIEmulator *)emulator;
- (void)setTrackingRegister:(NSString *)trackingRegister;

#pragma mark Actions
- (void)scrollToAddress:(int32_t)address;

- (IBAction)showGotoPanel:(id)sender;
- (IBAction)closeGotoPanel:(id)sender;
- (IBAction)cancelGotoPanel:(id)sender;

- (IBAction)placeCodeFile:(id)sender;
@end
